package com.own.demo.vo;

import lombok.Data;

/**
 * @author heguaanglong
 */
@Data
public class PointVo {

   private Double x;
   private Double y;

   private int  xIndex;
   private int yIndex;

    /**
     * 是否是障碍物。 0 是， 1 不是 2 边界内不可达
      */
   private int isObstacle;

   public PointVo(Double x,Double y,int xIndex,int yIndex){
     this.x=x;
     this.y=y;
     this.xIndex=xIndex;
     this.yIndex=yIndex;
   }

    public PointVo(Double x,Double y,int xIndex,int yIndex,int isObstacle){
        this.x=x;
        this.y=y;
        this.xIndex=xIndex;
        this.yIndex=yIndex;
        this.isObstacle=isObstacle;
    }
}
